home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / telecomm / archivers / sharutils-4.1.lha / SharUtils-4.1 / src / config.status < prev    next >
Encoding:
Text File  |  1994-12-08  |  8.8 KB  |  253 lines

  1. #!/bin/sh
  2. # Generated automatically by configure.
  3. # Run this file to recreate the current configuration.
  4. # This directory was configured as follows,
  5. # on host :
  6. #
  7. # configure 
  8. #
  9. # Compiler output produced by configure, useful for debugging
  10. # configure, is in ./config.log if it exists.
  11.  
  12. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
  13. for ac_option
  14. do
  15.   case "$ac_option" in
  16.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17.     echo "running ${CONFIG_SHELL-/bin/sh} configure  --no-create --no-recursion"
  18.     exec ${CONFIG_SHELL-/bin/sh} configure  --no-create --no-recursion ;;
  19.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  20.     echo "./config.status generated by autoconf version 2.1"
  21.     exit 0 ;;
  22.   -help | --help | --hel | --he | --h)
  23.     echo "$ac_cs_usage"; exit 0 ;;
  24.   *) echo "$ac_cs_usage"; exit 1 ;;
  25.   esac
  26. done
  27.  
  28. ac_given_srcdir=.
  29. ac_given_INSTALL="/usr/bin/install -c"
  30.  
  31. trap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15
  32.  
  33. # Protect against being on the right side of a sed subst in config.status. 
  34. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; 
  35.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  36. /^[     ]*VPATH[     ]*=[^:]*$/d
  37.  
  38. s%@CFLAGS@%-g%g
  39. s%@CPPFLAGS@%%g
  40. s%@CXXFLAGS@%%g
  41. s%@DEFS@%-DHAVE_CONFIG_H%g
  42. s%@LDFLAGS@%%g
  43. s%@LIBS@%%g
  44. s%@exec_prefix@%${prefix}%g
  45. s%@prefix@%/usr/local%g
  46. s%@program_transform_name@%s,x,x,%g
  47. s%@PRODUCT@%sharutils%g
  48. s%@VERSION@%4.1%g
  49. s%@PROGRAMS@%shar unshar uudecode uuencode%g
  50. s%@CC@%gcc%g
  51. s%@INSTALL_PROGRAM@%${INSTALL}%g
  52. s%@INSTALL_DATA@%${INSTALL} -m 644%g
  53. s%@RANLIB@%ranlib%g
  54. s%@CPP@%gcc -E%g
  55. s%@U@%%g
  56. s%@ANSI2KNR@%%g
  57. s%@ALLOCA@%%g
  58. s%@LIBOBJS@% basename.o%g
  59.  
  60. CEOF
  61.  
  62. CONFIG_FILES=${CONFIG_FILES-"Makefile"}
  63. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  64.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  65.   case "$ac_file" in
  66.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  67.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  68.   *) ac_file_in="${ac_file}.in" ;;
  69.   esac
  70.  
  71.   # Adjust relative srcdir, etc. for subdirectories.
  72.  
  73.   # Remove last slash and all that follows it.  Not all systems have dirname.
  74.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  75.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  76.     # The file is in a subdirectory.
  77.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  78.     ac_dir_suffix="/$ac_dir"
  79.     # A "../" for each directory in $ac_dir_suffix.
  80.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  81.   else
  82.     ac_dir_suffix= ac_dots=
  83.   fi
  84.  
  85.   case "$ac_given_srcdir" in
  86.   .)  srcdir=.
  87.       if test -z "$ac_dots"; then top_srcdir=.
  88.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  89.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  90.   *) # Relative path.
  91.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  92.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  93.   esac
  94.  
  95.   case "$ac_given_INSTALL" in
  96.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  97.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  98.   esac
  99.   echo creating "$ac_file"
  100.   rm -f "$ac_file"
  101.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  102.   case "$ac_file" in
  103.   *Makefile*) ac_comsub="1i\\
  104. # $configure_input" ;;
  105.   *) ac_comsub= ;;
  106.   esac
  107.   sed -e "$ac_comsub
  108. s%@configure_input@%$configure_input%g
  109. s%@srcdir@%$srcdir%g
  110. s%@top_srcdir@%$top_srcdir%g
  111. s%@INSTALL@%$INSTALL%g
  112. " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
  113. fi; done
  114. rm -f conftest.subs
  115.  
  116. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  117. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  118. #
  119. # ac_d sets the value in "#define NAME VALUE" lines.
  120. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  121. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  122. ac_dC='\3'
  123. ac_dD='%g'
  124. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  125. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  126. ac_uB='\([     ]\)%\1#\2define\3'
  127. ac_uC=' '
  128. ac_uD='\4%g'
  129. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  130. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  131. ac_eB='$%\1#\2define\3'
  132. ac_eC=' '
  133. ac_eD='%g'
  134.  
  135. CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
  136. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  137.   # Support "outfile[:infile]", defaulting infile="outfile.in".
  138.   case "$ac_file" in
  139.   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
  140.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  141.   *) ac_file_in="${ac_file}.in" ;;
  142.   esac
  143.  
  144.   echo creating $ac_file
  145.  
  146.   rm -f conftest.frag conftest.in conftest.out
  147.   cp $ac_given_srcdir/$ac_file_in conftest.in
  148.  
  149.   cat > conftest.frag <<CEOF
  150. ${ac_dA}PRODUCT${ac_dB}PRODUCT${ac_dC}"sharutils"${ac_dD}
  151. ${ac_uA}PRODUCT${ac_uB}PRODUCT${ac_uC}"sharutils"${ac_uD}
  152. ${ac_eA}PRODUCT${ac_eB}PRODUCT${ac_eC}"sharutils"${ac_eD}
  153. ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"4.1"${ac_dD}
  154. ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"4.1"${ac_uD}
  155. ${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"4.1"${ac_eD}
  156. ${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD}
  157. ${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD}
  158. ${ac_eA}PROTOTYPES${ac_eB}PROTOTYPES${ac_eC}1${ac_eD}
  159. ${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
  160. ${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
  161. ${ac_eA}HAVE_LIMITS_H${ac_eB}HAVE_LIMITS_H${ac_eC}1${ac_eD}
  162. CEOF
  163.   sed -f conftest.frag conftest.in > conftest.out
  164.   rm -f conftest.in
  165.   mv conftest.out conftest.in
  166.  
  167.   cat > conftest.frag <<CEOF
  168. ${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
  169. ${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
  170. ${ac_eA}HAVE_MEMORY_H${ac_eB}HAVE_MEMORY_H${ac_eC}1${ac_eD}
  171. ${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
  172. ${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
  173. ${ac_eA}HAVE_STRING_H${ac_eB}HAVE_STRING_H${ac_eC}1${ac_eD}
  174. ${ac_dA}HAVE_SYS_WAIT_H${ac_dB}HAVE_SYS_WAIT_H${ac_dC}1${ac_dD}
  175. ${ac_uA}HAVE_SYS_WAIT_H${ac_uB}HAVE_SYS_WAIT_H${ac_uC}1${ac_uD}
  176. ${ac_eA}HAVE_SYS_WAIT_H${ac_eB}HAVE_SYS_WAIT_H${ac_eC}1${ac_eD}
  177. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  178. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  179. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  180. CEOF
  181.   sed -f conftest.frag conftest.in > conftest.out
  182.   rm -f conftest.in
  183.   mv conftest.out conftest.in
  184.  
  185.   cat > conftest.frag <<CEOF
  186. ${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
  187. ${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
  188. ${ac_eA}HAVE_DIRENT_H${ac_eB}HAVE_DIRENT_H${ac_eC}1${ac_eD}
  189. ${ac_dA}HAVE_TM_ZONE${ac_dB}HAVE_TM_ZONE${ac_dC}1${ac_dD}
  190. ${ac_uA}HAVE_TM_ZONE${ac_uB}HAVE_TM_ZONE${ac_uC}1${ac_uD}
  191. ${ac_eA}HAVE_TM_ZONE${ac_eB}HAVE_TM_ZONE${ac_eC}1${ac_eD}
  192. ${ac_dA}size_t${ac_dB}size_t${ac_dC}unsigned${ac_dD}
  193. ${ac_uA}size_t${ac_uB}size_t${ac_uC}unsigned${ac_uD}
  194. ${ac_eA}size_t${ac_eB}size_t${ac_eC}unsigned${ac_eD}
  195. ${ac_dA}HAVE_FCHMOD${ac_dB}HAVE_FCHMOD${ac_dC}1${ac_dD}
  196. ${ac_uA}HAVE_FCHMOD${ac_uB}HAVE_FCHMOD${ac_uC}1${ac_uD}
  197. ${ac_eA}HAVE_FCHMOD${ac_eB}HAVE_FCHMOD${ac_eC}1${ac_eD}
  198. CEOF
  199.   sed -f conftest.frag conftest.in > conftest.out
  200.   rm -f conftest.in
  201.   mv conftest.out conftest.in
  202.  
  203.   cat > conftest.frag <<CEOF
  204. ${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
  205. ${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
  206. ${ac_eA}HAVE_GETCWD${ac_eB}HAVE_GETCWD${ac_eC}1${ac_eD}
  207. ${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
  208. ${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
  209. ${ac_eA}HAVE_MEMCPY${ac_eB}HAVE_MEMCPY${ac_eC}1${ac_eD}
  210. ${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
  211. ${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
  212. ${ac_eA}HAVE_STRCHR${ac_eB}HAVE_STRCHR${ac_eC}1${ac_eD}
  213. ${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
  214. ${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
  215. ${ac_eA}HAVE_STRERROR${ac_eB}HAVE_STRERROR${ac_eC}1${ac_eD}
  216. CEOF
  217.   sed -f conftest.frag conftest.in > conftest.out
  218.   rm -f conftest.in
  219.   mv conftest.out conftest.in
  220.  
  221.   cat > conftest.frag <<CEOF
  222. ${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
  223. ${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
  224. ${ac_eA}HAVE_ALLOCA${ac_eB}HAVE_ALLOCA${ac_eC}1${ac_eD}
  225. ${ac_dA}HAVE_STRFTIME${ac_dB}HAVE_STRFTIME${ac_dC}1${ac_dD}
  226. ${ac_uA}HAVE_STRFTIME${ac_uB}HAVE_STRFTIME${ac_uC}1${ac_uD}
  227. ${ac_eA}HAVE_STRFTIME${ac_eB}HAVE_STRFTIME${ac_eC}1${ac_eD}
  228. ${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
  229. ${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
  230. ${ac_eA}HAVE_VPRINTF${ac_eB}HAVE_VPRINTF${ac_eC}1${ac_eD}
  231. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  232. CEOF
  233.   sed -f conftest.frag conftest.in > conftest.out
  234.   rm -f conftest.in
  235.   mv conftest.out conftest.in
  236.  
  237.   rm -f conftest.frag conftest.h
  238.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  239.   cat conftest.in >> conftest.h
  240.   rm -f conftest.in
  241.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  242.     echo "$ac_file is unchanged"
  243.     rm -f conftest.h
  244.   else
  245.     rm -f $ac_file
  246.     mv conftest.h $ac_file
  247.   fi
  248. fi; done
  249.  
  250.  
  251. test -z "$CONFIG_HEADERS" || date > stamp-h
  252. exit 0
  253.